package com.itany.mapper;

import com.itany.pojo.Menu;
import com.itany.pojo.Permission;
import com.itany.vo.PermissionVo;

import java.awt.*;
import java.util.List;
import java.util.Set;
import java.util.TreeSet;

public interface PermissionMapper {

    public TreeSet<Menu> selectMenu(Integer parentid);

    public List<Permission> selectByFuzzy(Permission permission);

    public Permission selectByParentId(Integer parentid);

    public Permission selectById(Integer parentid);

    public List<Permission> selectParents();

    public void updateById(Permission permission);

}
